package org.locker.service;

import org.locker.domain.DeviceUploadLog;
import org.locker.domain.vo.DeviceUploadLogVo;
import org.locker.domain.bo.DeviceUploadLogBo;
import org.locker.common.mybatis.core.page.TableDataInfo;
import org.locker.common.mybatis.core.page.PageQuery;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.Collection;
import java.util.List;

/**
 * 日志上传记录Service接口
 *
 * @author winnie
 * @date 2023-10-14
 */
public interface IDeviceUploadLogService extends IService<DeviceUploadLog>{

    /**
     * 查询日志上传记录
     */
    DeviceUploadLogVo queryById(Long deviceUploadLogId);

    /**
     * 查询日志上传记录列表
     */
    TableDataInfo<DeviceUploadLogVo> queryPageList(DeviceUploadLogBo bo, PageQuery pageQuery);

    /**
     * 查询日志上传记录列表
     */
    List<DeviceUploadLogVo> queryList(DeviceUploadLogBo bo);

    /**
     * 新增日志上传记录
     */
    Boolean insertByBo(DeviceUploadLogBo bo);

    /**
     * 修改日志上传记录
     */
    Boolean updateByBo(DeviceUploadLogBo bo);

    /**
     * 校验并批量删除日志上传记录信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
